Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
May 13, 2007, 3:31:02 PM (17 years ago)
- Author:
-
resiak
- Comment:
-
Add can-change-accels stuff
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v13
|
v14
|
|
2 | 2 | |
3 | 3 | [[TOC(inline,noheading)]] |
| 4 | |
| 5 | == All Platforms == |
| 6 | |
| 7 | === How do I make Enter make a newline and Ctrl+Enter send? === |
| 8 | |
| 9 | Locate or create your `gtkrc-2.0` file and insert: |
| 10 | {{{ |
| 11 | binding "my-bindings" |
| 12 | { |
| 13 | bind "Return" { "insert-at-cursor" ("\n") } |
| 14 | bind "<ctrl>Return" { "message_send" () } |
| 15 | } |
| 16 | widget "*pidgin_conv_entry" binding "my-bindings" |
| 17 | }}} |
| 18 | |
| 19 | === How do I bind keystrokes to menu items? === |
| 20 | |
| 21 | Locate or create your `gtkrc-2.0` file and insert: |
| 22 | |
| 23 | {{{ |
| 24 | gtk-can-change-accels = 1 |
| 25 | }}} |
| 26 | |
| 27 | After coercing Pidgin into rereading this file (for instance, by restarting it), you can hover over a menu item and hit the keystroke you want to bind to it, and your wish will be granted! (You might want to turn off `gtk-can-change-accels` again when you're done, since it's pretty easy to bind keys by mistake with it turned on.) |
| 28 | |
| 29 | (If you're a Gnome user, you should set the /desktop/gnome/interface/can_change_accels key with `gconf-editor` instead. You don't need to restart Pidgin for this to take effect.) |
4 | 30 | |
5 | 31 | == Windows Specific == |
… |
… |
|
78 | 104 | You are done! Running `U:\Programs\Pidgin\pidgin-portable.exe` will cause pidgin to run off the USB Drive, saving the settings, logs and etc. to `U:\Programs\.purple`. |
79 | 105 | |
80 | | === How do i make Enter make a newline and Ctrl+Enter send? === |
81 | | |
82 | | Locate or create your gtkrc-2.0 file and insert: |
83 | | {{{ |
84 | | binding "my-bindings" |
85 | | { |
86 | | bind "Return" { "insert-at-cursor" ("\n") } |
87 | | bind "<ctrl>Return" { "message_send" () } |
88 | | } |
89 | | widget "*pidgin_conv_entry" binding "my-bindings" |
90 | | gtk-can-change-accels = 1 |
91 | | }}} |
92 | | |
93 | 106 | == Linux and Unix-like platforms == |
94 | 107 | |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!